import request from '@/utils/request'

// 查询monitormanagebuild列表
export function listTeammember(query) {
  return request({
    url: '/monitormanage/teammember/list',
    method: 'get',
    params: query
  })
}

// 查询monitormanagebuild详细
export function getTeammember(id) {
  return request({
    url: '/monitormanage/teammember/' + id,
    method: 'get'
  })
}

// 新增monitormanagebuild
export function addTeammember(data) {
  return request({
    url: '/monitormanage/teammember',
    method: 'post',
    data: data
  })
}

// 修改monitormanagebuild
export function updateTeammember(data) {
  return request({
    url: '/monitormanage/teammember',
    method: 'put',
    data: data
  })
}

// 删除monitormanagebuild
export function delTeammember(id) {
  return request({
    url: '/monitormanage/teammember/' + id,
    method: 'delete'
  })
}
// selectTTeammemberByTeamId
export function selectTTeammemberByTeamId(data) {
  return request({
    url: '/monitormanage/teammember/selectTTeammemberByTeamId',
    method: 'post',
    data: data
  })
}
